<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" 
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<ui:composition template="/template/templatecomum.xhtml">
	
		<ui:define name="informacoes" >

				<div id="left" style="border-top-color: rgb(67, 145, 67); border-right-color: rgb(67, 145, 67); border-bottom-color: rgb(67, 145, 67); border-left-color: rgb(67, 145, 67); ">
					<h3 class="ttl" style="color: rgb(67, 145, 67); ">Bem vindo <h:outputText value="#{login.usuario.login}" /> </h3>
					<br/>
					<h:form >
						<h:panelGrid columns="2" cellspacing="2">
							<h:outputText value="Nome: "/>
							<h:inputText value="#{projetoMBean.projetoEditar.nome}"/>
							
							<h:outputText value="Descricao:  "/>
							<h:inputTextarea rows="10" value="#{projetoMBean.projetoEditar.descricao}"/>
							
							<h:outputText value=""/>
							<h:commandButton value="Editar" action="#{projetoMBean.editarProjeto}"/>
						</h:panelGrid>
					</h:form>
				</div>
				<div id="right">
					<h3 class="ttl" style="color: rgb(67, 145, 67); ">
						<span style="background-image: initial; background-attachment: initial; 
								background-origin: initial; background-clip: initial; background-color: rgb(0, 23, 0);
								border-top-color: rgb(1, 36, 1); border-right-color: rgb(1, 36, 1); border-bottom-color: rgb(1, 36, 1); 
								border-left-color: rgb(1, 36, 1); background-position: initial initial; background-repeat: initial initial; ">
						</span>
						<h:outputLabel value="Cadastrar projeto"/>
					</h3>
					
					<br/>
					<h:form>
						<h:panelGrid columns="2" cellspacing="3">
							<h:outputText value="Nome"/>
							<h:inputText value="#{projetoMBean.projetoCadastrar.nome}"/>
							
							<h:outputText value="Descrição"/>
							<h:inputTextarea rows="10" value="#{projetoMBean.projetoCadastrar.descricao}"/>
							
							<h:outputText value=""/>
							<h:commandButton value="Cadastrar projeto" action="#{projetoMBean.cadastrarProjeto}"/>
						</h:panelGrid>
					</h:form>
				</div>
		
		</ui:define>

	</ui:composition>
</html>